	<div id="logodanmenu">
    	<div id="logo"><img src="<?php echo base_url()?>images/logoheader_03.png" width="157" height="100" alt="logo" /></div>
		  <div id="menu">
			  <a href="<?php echo base_url()."itcourse/itcourse_con/products"?>" id="productmenu" class="sembunyi" title="Product">Product</a>
		  <a href="<?php echo base_url()."itcourse/itcourse_con/schedules"?>" id="schedulemenu" class="sembunyi" title="Schedule">Schedule</a>
                  <a href="<?php echo base_url()."itcourse/itcourse_con/contact"?>" id="contactmenu2" class="sembunyi" title="Contact">Contact</a>
		  </div>
	</div>
  
    <div id="bawahmenu">
    	<div id="bwhmenu1"></div>
    	<div id="bwhmenu2">
        	<div id="menutambahan"> 
            <a id="kiribgt" href="#">Sertifikasi</a>  
            <a href="<?php echo base_url()?>itcourse/itcourse_con/news/-1/4"">Pengumuman</a>  
            <a href="<?php echo base_url()?>itcourse/itcourse_con/news/-1/1">Berita</a>  
            <a href="<?php echo base_url()?>itcourse/itcourse_con/news/-1/2">Cerita</a>  
            <a href="<?php echo base_url()?>itcourse/itcourse_con/news/-1/3">Tutorial</a>
            <a href="<?php echo base_url()?>itcourse/itcourse_con/news/-1/6"">Promo</a>
            <a href="<?php echo base_url()?>itcourse/itcourse_con/news/-1/5"">FAQ</a>				
            <a href="#">Forum</a>
            <a href="#">Download</a>
            <a id="nggak" href="#">Merchandise</a>

            </div>
            <div id="garismenu"></div>
        	<div class="countspace countbatas">
            		<!------------------------->    
			<div class="judultimepad">Next Event:</div>
                    <div>
                        <div class="left"><img src="<?php echo base_url()?>images/ic_menu_my_calendar.png" /></div>
                        <div class="left waktu">Term-<?php if(isset($current_term[0])) echo $current_term[0]['NO_TERM']." ".$current_term[0]['TAHUN']?></div>
                        <div class="clear"></div>
                    </div>          
            		<!------------------------->    
            </div>
            <div class="countspace countbatas">
            		<!------------------------->    
                    <div class="judultimepad">Will Be Held On:</div>
                    <div>
                        <div class="left"><img src="<?php echo base_url()?>images/ic_menu_my_calendar.png" /></div>
                        <div class="left waktu"><?php if(isset($TGL_MULAI)) echo $TGL_MULAI?> </div>
                        <div class="clear"></div>
                    </div>
            		<!------------------------->    
            </div>
            <div class="countspace countbatas">
            		<!------------------------->    
                    <div class="judultimepad">Last Registration:</div>
                    <div>
                        <div class="left"><img src="<?php echo base_url()?>images/ic_menu_my_calendar.png" /></div>
                        <div class="left waktu"><?php if(isset($BATAS)) echo $BATAS?></div>
                        <div class="clear"></div>
                    </div>
            		<!------------------------->    
            </div>            
            <div class="countspace countbatas">
            		<!------------------------->    
                    <div class="judultimepad">Countdown to Event</div>
                    <div>
                        <div class="left"><img src="<?php echo base_url()?>images/ic_menu_duration.png" /></div>
                        <div class="left waktu">
                        <table class="compaq" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td id="box_days">(##)</td>
                            <td id="box_hours">(##)</td>
                            <td id="box_mins">(##)</td>
                            <td id="box_secs">(##)</td>
                          </tr>
                        </table>
                        
                        </div>
                        <div class="clear"></div>
                    </div>
            		<!------------------------->              
            </div>
            <div class="countspace" id="fbkanan">
            		<!------------------------->    
                    <div class="judultimepad">Find us on Facebook</div>
                    <div>
                        <div class="left"></div>
                        <div class="left waktu manggis"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2F%23%21%2Fpages%2FComLabs-ITCourse%2F184063721610460&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="No" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowtransparency="true"></iframe></div>
                        <div class="clear"></div>
                    </div>
            		<!------------------------->                
            </div>
        </div><!---end #bawahmenu2--->
        <div id="bwhmenu3"></div>
	</div><!---end #bawahmenu--->
	
	<div id="isi">
        <div class="wadah">
            <div class="folio_block">
                <div class="">
                    <div class="window">
                        <div class="image_reel"> 
                            <?php
                                if (isset($featured_images)){
                                    for ($i=0;$i<count($featured_images);$i++){
                                        echo "
                                            <a href='#'><img src='".$featured_images[$i]['LOKASI_GAMBAR']."' alt='' /></a> 
                                            ";
                                    }
                                }
                            ?>
                        </div>
                    </div>
					<div class="buttonteaser">
						<div class="paging"> 
						<a href="#" rel="1" class="buttonteaserlagi1">&nbsp;</a> 
						<a href="#" rel="2" class="buttonteaserlagi2">&nbsp;</a> 
						<a href="#" rel="3" class="buttonteaserlagi3">&nbsp;</a> 
						<a href="#" rel="4" class="buttonteaserlagi4">&nbsp;</a> 
						<a href="#" rel="5" class="buttonteaserlagi5">&nbsp;</a> 
						<a href="#" rel="6" class="buttonteaserlagi6">&nbsp;</a> 
						<a href="#" rel="7" class="buttonteaserlagi7">&nbsp;</a> 
						</div>
					</div>
				</div>
			</div>
		</div>
		<div id="searchbar">
			<div id="s1">&nbsp;</div>
			<div id="s2">&nbsp;</div>
			<div id="s3">
				<form><label for="cari"></label><input name="cari" type="text" class="carix" id="cari" />
				</form>
			</div>
			<div class="clear"></div>
		</div>
		<div id="etalase1"></div>
		<div id="etalase">
			<div class="coda-slider-wrapper">
			<div class="coda-slider preload" id="coda-slider-1">
			<!--------->
				<div class="panel">
				<div class="panel-wrapper">
                                    <?php
                                        if (isset($featured_product)){
                                            if (count($featured_product)>0){
                                                echo "
                                                    <table width='' border='0' cellspacing='0' cellpadding='0' class='yihan' align='center'>
                                                      <tr>
                                                ";
                                                if(count($featured_product)>3){
                                                    $jumlah = 4;
                                                }else{
                                                    $jumlah = count($featured_product);
                                                }
                                                for ($i=0;$i<$jumlah;$i++){
                                                    if ($i==0){
                                                        echo "
                                                        <td class='etano'>
                                                            ";
                                                    }else{
                                                        echo "<td class='etaborder'>";
                                                        
                                                    }
                                                    echo "
                                                                <div class='left fwid'>
                                                                        <div class='fatas din'>
                                                                                <a href='".base_url()."itcourse/itcourse_con/overview/".$featured_product[$i]['KODE_PELATIHAN']."'><img src='".$featured_product[$i]['LOGO']."'  class='captify' alt='See Details'/></a>";
                                                                                if ($featured_product[$i]['STATUS_NEW']==1){
                                                                                    echo "
                                                                                        <span class='new'></span>
                                                                                        ";
                                                                                }
                                                                                echo "
                                                                        </div>
                                                                        <div class='fbawah'>
                                                                                <a href='".base_url()."itcourse/itcourse_con/overview/".$featured_product[$i]['KODE_PELATIHAN']."'><p class='judulfeatured din'>".$featured_product[$i]['NAMA_PELATIHAN']."</p></a>
                                                                                <p class='isifeatured'>".$featured_product[$i]['PREVIEW']."</p>
                                                                        </div>
                                                                </div>        
                                                        </td>
                                                        ";
                                                }
                                                echo "
                                                      </tr>
                                                    </table>            
                                                    ";
                                            }
                                        }
                                    ?>

		   		</div>
				</div>
				<!--------->
				<div class="panel">
				<div class="panel-wrapper">
                                    <?php
                                        if (isset($featured_product)){
                                            if (count($featured_product)>4){
                                                echo "
                                                    <table width='' border='0' cellspacing='0' cellpadding='0' class='yihan' align='center'>
                                                      <tr>
                                                ";
                                                $jumlah = count($featured_product);
                                                if(count($featured_product)>7){
                                                    $jumlah = 8;
                                                }
                                                for ($i=4;$i<$jumlah;$i++){
                                                    if ($i==0){
                                                        echo "
                                                        <td class='etano'>
                                                            ";
                                                    }else{
                                                        echo "<td class='etaborder'>";
                                                        
                                                    }
                                                    echo "
                                                                <div class='left fwid'>
                                                                        <div class='fatas din'>
                                                                                <a href='".base_url()."itcourse/itcourse_con/overview/".$featured_product[$i]['KODE_PELATIHAN']."'><img src='".$featured_product[$i]['LOGO']."'  class='captify' alt='See Details'/></a>";
                                                                                if ($featured_product[$i]['STATUS_NEW']==1){
                                                                                    echo "
                                                                                        <span class='new'></span>
                                                                                        ";
                                                                                }
                                                                                echo "
                                                                        </div>
                                                                        <div class='fbawah'>
                                                                                <a href='".base_url()."itcourse/itcourse_con/overview/".$featured_product[$i]['KODE_PELATIHAN']."'><p class='judulfeatured din'>".$featured_product[$i]['NAMA_PELATIHAN']."</p></a>
                                                                                <p class='isifeatured'>".$featured_product[$i]['PREVIEW']."</p>
                                                                        </div>
                                                                </div>        
                                                        </td>
                                                        ";
                                                }
                                                echo "
                                                      </tr>
                                                    </table>            
                                                    ";
                                            }
                                        }
                                    ?>

				</div>
				</div>
				<!--------->
			</div><!---end #coda-slider-1---> 
			</div><!-- .coda-slider -->
		</div><!---end #etalase--->
       
    
		<div id="tiga1"></div>
		<div id="tiga2">
			<div id="comunity"><p>Join Our Community</p></div>
			<div id="merchan"><p>Our Merchandise</p></div>
			<div id="berita">
                            <?php
                                if (isset($latest_news)){
                                    echo "
            				<p>Our Latest News</p>
            				<table width='' border='0' cellspacing='0' cellpadding='0'>
                                        ";
                                    for ($i=0;$i<count($latest_news);$i++){
                                        echo "
                                              <tr>
                                                    <td>o</td>
                                                    <td><a href='".  base_url()."itcourse/itcourse_con/news/".$latest_news[$i]['ID_BERITA']."/1'>".$latest_news[$i]['JUDUL']."</a></td>
                                              </tr>
                                            ";
                                    }
                                }
                            ?>
				</table>
			</div>
			<div class="clear"></div>
		</div><!---end #tiga2--->
	</div><!---end #isi--->
	<div id="tiga3"></div>